<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>考生试卷的批改</title>
<script type="text/javascript" src="static/easyui/jquery.min.js"></script>
<script type="text/javascript" src="static/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="static/easyui/locale/easyui-lang-zh_CN.js"></script>
<link rel="stylesheet" href="static/easyui/themes/icon.css">
<link rel="stylesheet" href="static/easyui/themes/metro-red/easyui.css">
</head>
<body>
<style type="text/css">
.looktestone{
	display:table;
	margin:auto;
}
.testnames{
	width:320px;
	height:40px;
	font-size:20px;
	color:#19AA8D;
	font-weight:bold;
	text-align:center;
	line-height:35px;
	margin:10px auto;
}
.testothers{
	width: 130px;
    margin: 0px 5px;
    height: 40px;
    font-size: 16px;
    color: red;
    font-weight: bold;
    line-height: 55px;
    float: left;
    margin-top: 10px;
}
.looktesttwo{
	display:block;
	margin-top:10px;
	font-size:14px;
}
.looktesttwo p{
	font-size: 20px;
    font-weight: bold;
    margin-left: 20px;
}
.looktestthree{
	width:1100px;
	height:200px;
	margin:10px auto;
	font-size:14px;
}
.threefirst{
	width:1080px;
	height:40px;
}
.threesecond{
	width:1080px;
	height:40px;
}
.onetitless{
	width:100px;
	height:40px;
	border:none;
	background:none;
}
.threethrid{
	width:900px;
	height:40px;
	float:left;
}
.jianda{
	width:1080px;
	height:40px;
}
.towtitless{
	width:900px;
	height:40px;
	border:none;
	background:none;
}
.threefourth{
	width:1080px;
	height:40px;
}
.pandc{
	width:200px;
	float:right;
}
.threetitless{
	width:900px;
	height:40px;
	border:none;
	background:none;
}
.fourtitless{
	width:1060px;
	margin-left:20px;
	height:150px;
	border:none;
}
.scorebottom{
	width:200px;
	height:30px;
	margin:20px auto;
}
.scorereturn{
	width:60px;
	height:25px;
	color:white;
	border:none;
	float:left;
	cursor:pointer;
}
.scorebeok{
	width:60px;
	height:25px;
	color:white;
	border:none;
	float:right;
	cursor:pointer;
}
.icon-score-fanhui{
	padding-left: 20px;
	background:url('static/easyui/themes/icons/fanhui.png') no-repeat 5% 50%;
	background-color:#EC971F;
}
.icon-score-queding{
	padding-left: 20px;
	background:url('static/easyui/themes/icons/baocun.png') no-repeat 5% 50%;
	background-color:#13826B;
}
</style>
<script type="text/javascript">
	$(function(){
		//点击返回按钮
		$("#scorefh").click(function(){
			add("testscore");
		});
	});
</script>
<div class="scoretest"  style="background: white;">
	<div class="looktestone">
			<div class="testnames"><span>试卷名称：</span><span>${ttest.ttestname }</span></div>
			<div class="testothers" style="width: 150px;margin-right: 50px"><span>创建人：</span><span>${ttest.Staff_name }</span></div>
			<div class="testothers"><span>总分：</span><span>${ttest.ttestavrage }</span></div>
			<div class="testothers"><span>时长：</span><span>${ttest.ttesttnums }</span></div>
	</div>
	<div class="looktesttwo">		
				<c:forEach items="${ttiem }" var="pojo">
				<p ${pojo.titemtypes=="单选"?"":"style='display:none'"}>单选题</p>
				<p ${pojo.titemtypes=="多选"?"":"style='display:none'"}>多选题</p>
				<p ${pojo.titemtypes=="判断"?"":"style='display:none'"}>判断题</p>
				<p ${pojo.titemtypes=="简答"?"":"style='display:none'"}>简答题</p>
					<div class="looktestthree">
					<div class="threefirst"><span>第${pojo.sta }题：${pojo.titemremark }</span></div>
					<input type="hidden" name="erer" value="${pojo.titemid}"> 	
					<div class="threesecond" ${pojo.a==null?"style='display:none'":""}><input ${pojo.titemtypes=="单选"?"type='radio'":"type='checkbox'" } id="s1${pojo.titemid}" name="${pojo.sta }">A：<span style="margin-left:10px;">${pojo.a }</span></div>
					<div class="threesecond" ${pojo.a==null?"style='display:none'":""}><input ${pojo.titemtypes=="单选"?"type='radio'":"type='checkbox'" } id="s2${pojo.titemid}" name="${pojo.sta }">B：<span style="margin-left:10px;">${pojo.b }</span></div>
					<div class="threesecond" ${pojo.a==null?"style='display:none'":""}><input ${pojo.titemtypes=="单选"?"type='radio'":"type='checkbox'" } id="s3${pojo.titemid}" name="${pojo.sta }">C：<span style="margin-left:10px;">${pojo.c }</span></div>
					<div class="threesecond" ${pojo.a==null?"style='display:none'":""}><input ${pojo.titemtypes=="单选"?"type='radio'":"type='checkbox'" } id="s4${pojo.titemid}" name="${pojo.sta }">D：<span style="margin-left:10px;">${pojo.d }</span></div>
					<div class="pandc" ${pojo.titemtypes=="判断"?"":"style='display:none'"}>
						<span><input name="${pojo.sta }" type="radio">T</span>
						<span><input name="${pojo.sta }" type="radio">F</span>
					</div>
					<div class="jianda" ${pojo.titemtypes=="简答"?"":"style='display:none'"}>
					</div>
					</div>
				</c:forEach>			
	</div>
	<div class="scorebottom">
		<button id="scorefh" class="scorereturn icon-score-fanhui">返回</button>
		<button id="scoreqd" class="scorebeok icon-score-queding">确定</button>
	</div>
</div>
</body>
</html>